<cfapplication name="cfProtocol" 
sessionmanagement="Yes"
sessiontimeout=#CreateTimeSpan(0,0,45,0)#>

<cfset Request.DS = "MySQL" >
<cfset Request.maxEntries = 5 >
<cfset Request.dateFormat = "dd. mmmm yyyy">
<cfparam name="Session.id" default="0">
<cfif Session.id NEQ 0>
	<cfquery name="user_data" datasource="#Request.DS#">
		SELECT *
		FROM `cfp_users` WHERE `id` = '#Session.id#'
	</cfquery>
	<cfset Request.user_name = user_data.realname>
	<cfset Request.bereich = user_data.bereich>
	<cfset Request.greeting = user_data.greeting>
</cfif>